﻿@{
    Layout = null;
}
<div ng-init="initPost(post)">
    <div ng-if="type == 'question'">
        @Html.Partial("PostModules/Title")
    </div>
    <div>
        <div class="col-md-1 votes-hldr">
            @Html.Partial("PostModules/Votes")
        </div>
        <div class="col-md-11">
            <pagedown-viewer content="post.Body" ng-hide="post.editing" class="body"></pagedown-viewer>
            <pagedown-editor content="post.Body" ng-show="post.editing" class="body"></pagedown-editor>
            
            @Html.Partial("PostModules/Errors")

            <div>
                @Html.Partial("PostModules/Actions")
                @Html.Partial("PostModules/Messages")
            </div>
        </div>
    </div>
</div>